package com.hzhjhh.view.cashierView;

import javax.swing.JLabel;
import javax.swing.JTextField;

/**
 * 组件初始化-收银页面-折扣
 * @author 12083
 *
 */
public class MerchandiseDiscountInit {

	/**
	 * 初始化折扣-标签
	 * @return
	 */
	public static JLabel initLb() {
		JLabel discount = new JLabel();
		discount.setBounds(399, 460, 42, 15);
		discount.setText("折扣");
		return discount;
	}
	
	/**
	 * 初始化折扣-输入框
	 */
	public static JTextField initTxf() {
		JTextField discount = new JTextField();
		discount.setEnabled(false);
		discount.setText("100");
		discount.setBounds(436, 456, 96, 21);
		return discount;
	}
}
